package com.elder.business.domain;

import java.util.Date;

import com.elder.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.elder.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 膳食记录对象 meal_records
 * 
 * @author elder
 * @date 2023-11-26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MealRecords
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long mealId;

    /** 居民ID */
    @Excel(name = "居民ID")
    private Long elderId;

    /** 用餐时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用餐时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Long mealTime;

    /** 膳食类型 */
    @Excel(name = "膳食类型")
    private String mealType;

    /** 膳食图片预览 */
    @Excel(name = "膳食图片预览")
    private String mealUrl;

    /** 食物清单 */
    @Excel(name = "食物清单")
    private String foodItems;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    private String carerName;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUserId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUserId;
    private Long createTime;

    private Long updateTime;
}
